<?php

namespace api\components\jobs;

use Yii;
use yii\base\BaseObject;
use yii\queue\JobInterface;

class TestJob extends BaseObject implements JobInterface
{
    public $message;
    
    public function execute($queue) {
        print_r($this->message);
    }

}